From: Dan Nicolaescu Date: Thu, 18 Nov 2010 21:45:03 +0000 (-0800) Subject: * src/alloc.c (refill_memory_reserve): Move declaration ... X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~5611 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9e7a7bdbb7489d23f6634515ed0e41671daa5c4f;p=emacs.git * src/alloc.c (refill_memory_reserve): Move declaration ... * src/lisp.h (refill_memory_reserve): ... here. --- diff --git a/src/ChangeLog b/src/ChangeLog index c2dbdab1491..321e1f9a5a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2010-11-18 Dan Nicolaescu + * alloc.c (refill_memory_reserve): Move declaration ... + * lisp.h (refill_memory_reserve): ... here. + * strftime.c (_strftime_copytm): Add declaration. * callproc.c (syms_of_callproc): Use intern_c_string. diff --git a/src/alloc.c b/src/alloc.c index fa39c1ee5dc..6e121212b14 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -351,7 +351,6 @@ enum mem_type static POINTER_TYPE *lisp_align_malloc (size_t, enum mem_type); static POINTER_TYPE *lisp_malloc (size_t, enum mem_type); -void refill_memory_reserve (void); #if GC_MARK_STACK || defined GC_MALLOC_CHECK diff --git a/src/lisp.h b/src/lisp.h index 8ddd7af79a8..117e810e565 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -2736,6 +2736,7 @@ extern void memory_full (void) NO_RETURN; extern void buffer_memory_full (void) NO_RETURN; extern int survives_gc_p (Lisp_Object); extern void mark_object (Lisp_Object); +extern void refill_memory_reserve (void); extern const char *pending_malloc_warning; extern Lisp_Object Vpurify_flag; extern Lisp_Object Vmemory_full;